package com.sengled.cloud.biz.union.mgt.model.request;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created by FMC on 2017/10/27.
 */
@Data
@ApiModel
public class SaveShopRequest {
	@ApiModelProperty(position = 20,  dataType = "Long", value = "店铺ID,新增时为非必填项，可以不用填写")
	private Long id;

	@ApiModelProperty(position = 1, required = true, dataType = "String", value = "店铺ID")
	private String shopCode;

	@ApiModelProperty(position = 2, required = true, dataType = "String", value = "店铺名称")
	private String shopName;

	@ApiModelProperty(position = 3, required = true, dataType = "String", value = "店铺电话")
	private String shopTel;

	@ApiModelProperty(position = 4, required = true, dataType = "Long", value = "店铺属性   1直营 / 2加盟  / 3其他")
	private Integer shopNature;

	@ApiModelProperty(position = 5, dataType = "String", value = "成立时间(yyyy-MM-dd)", example = "2017-09-27")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private String establishDateStr;

	@ApiModelProperty(position = 7, required = true, dataType = "String", value = "国家编码")
	private String countryCode;

	@ApiModelProperty(position = 8, required = true, dataType = "String", value = "国家名称")
	private String countryName;

	@ApiModelProperty(position = 9, required = true, dataType = "String", value = "省份代码")
	private String provinceCode;

	@ApiModelProperty(position = 10, required = true, dataType = "String", value = "省份名称")
	private String provinceName;

	@ApiModelProperty(position = 11, required = true, dataType = "String", value = "城市代码")
	private String cityCode;

	@ApiModelProperty(position = 12, required = true, dataType = "String", value = "城市名称")
	private String cityName;

	@ApiModelProperty(position = 13, required = true, dataType = "String", value = "区代码")
	private String districtCode;

	@ApiModelProperty(position = 14, required = true, dataType = "String", value = "区名称")
	private String districtName;

	@ApiModelProperty(position = 15, required = true, dataType = "String", value = "街道代码")
	private String streetCode;

	@ApiModelProperty(position = 16, required = true, dataType = "String", value = "街道名称")
	private String streetName;

	@ApiModelProperty(position = 17, dataType = "String", value = "详细地址")
	private String detailedAddr;

	@ApiModelProperty(position = 18, dataType = "String", value = "店铺负责人")
	private String shopMgr;
}
